package org.ims.inv.service.project;

import org.ims.inv.model.project.ModelProject;
import org.ims.inv.model.project.ModelProjectEvent;

import cn.trymore.core.exception.ServiceException;
import cn.trymore.core.service.ServiceGeneric;

/**
 * Service: 项目操作记录
 * 
 * @author Jeccy.Zhao
 *
 */
public interface ServiceProjectEvent
extends ServiceGeneric<ModelProjectEvent>
{
	/**
	 * 记录项目事件
	 * 
	 * @param project
	 * @param eventName
	 * @param eventState
	 * @param eventComments
	 * @throws ServiceException
	 */
	void traceEvent (ModelProject project, 
			String eventName, Integer eventState, String eventComments) throws ServiceException;
	
}
